package com.association.management.common;

/**
 * Created by PanD
 */

public class TokenSub {

    // 用户id
    private Integer userId;

    // 对应社团id
    private Integer associationId;

// construct ---------------------------

    public TokenSub(Integer userId) {
        this.userId = userId;
        this.associationId=null;
    }

    public TokenSub(Integer userId, Integer associationId) {
        this.userId = userId;
        this.associationId = associationId;
    }

// getter ------------------------------

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAssociationId() {
        return associationId;
    }

    public void setAssociationId(Integer associationId) {
        this.associationId = associationId;
    }
}
